const weRequest = require('../utils/weRequest')
const API = {
  getTeacherById:"teacher/getTeacherById",
  bindTeacherWX:"teacher/bindTeacherWx",
  
};
const teacherAPI = {
  getTeacherById(data){
    return weRequest.request({
      showLoading: true,url:API.getTeacherById,
      method:'get',
      data:data
    })
  },
  bindTeacherWX(data){
    return weRequest.request({
      showLoading: true,url:API.bindTeacherWX,
      method:'post',
      data
    })
  },
  
}
module.exports =  teacherAPI;